package com.one_2.service;

/**
 * @author SunChangSheng
 * @apiNote 抽象工厂
 * @since 2021/12/9 11:02
 */
public interface IFactory {
    /**
     * 支付
     * @param account 账号
     * @return true成功，false失败
     */
    boolean pay(String account);
}
